<?php

namespace App\Domain;
use App\Model\MirContent as Model;

/**
 * 用户
 *
 * - 可用于自动生成一个新用户
 *
 * @author dogstar 20200331
 */

class MirContent {


    //读取数据
    public function selectByPageName($data) {
        $model = new Model();
        return $model->selectByPageName($data);
    }


    //新增评论
    public function insertPageName($json) {
        $model = new Model();
        return $model->insertPageName($json);
    }

}
